package cn.mastor.netty;

import io.netty.channel.Channel;
import lombok.Data;


import java.util.HashMap;

@Data
public class UserChanelRel {
    private static HashMap<String, Channel> manage = new HashMap<>();
    public static void put(String senderId, Channel channel){
        manage.put(senderId, channel);
    }
    public static Channel get(String senderId){
        return manage.get(senderId);
    }
}
